package com.eqxiu.ieditor.entity;

import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;

public class RecommondCriteria {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer limitStart;

    protected Integer limitEnd;

    public RecommondCriteria() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimitStart(Integer limitStart) {
        this.limitStart=limitStart;
    }

    public Integer getLimitStart() {
        return limitStart;
    }

    public void setLimitEnd(Integer limitEnd) {
        this.limitEnd=limitEnd;
    }

    public Integer getLimitEnd() {
        return limitEnd;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andScenceCodeIsNull() {
            addCriterion("scence_code is null");
            return (Criteria) this;
        }

        public Criteria andScenceCodeIsNotNull() {
            addCriterion("scence_code is not null");
            return (Criteria) this;
        }

        public Criteria andScenceCodeEqualTo(String value) {
            addCriterion("scence_code =", value, "scenceCode");
            return (Criteria) this;
        }

        public Criteria andScenceCodeNotEqualTo(String value) {
            addCriterion("scence_code <>", value, "scenceCode");
            return (Criteria) this;
        }

        public Criteria andScenceCodeGreaterThan(String value) {
            addCriterion("scence_code >", value, "scenceCode");
            return (Criteria) this;
        }

        public Criteria andScenceCodeGreaterThanOrEqualTo(String value) {
            addCriterion("scence_code >=", value, "scenceCode");
            return (Criteria) this;
        }

        public Criteria andScenceCodeLessThan(String value) {
            addCriterion("scence_code <", value, "scenceCode");
            return (Criteria) this;
        }

        public Criteria andScenceCodeLessThanOrEqualTo(String value) {
            addCriterion("scence_code <=", value, "scenceCode");
            return (Criteria) this;
        }

        public Criteria andScenceCodeLike(String value) {
            addCriterion("scence_code like", value, "scenceCode");
            return (Criteria) this;
        }

        public Criteria andScenceCodeNotLike(String value) {
            addCriterion("scence_code not like", value, "scenceCode");
            return (Criteria) this;
        }

        public Criteria andScenceCodeIn(List<String> values) {
            addCriterion("scence_code in", values, "scenceCode");
            return (Criteria) this;
        }

        public Criteria andScenceCodeNotIn(List<String> values) {
            addCriterion("scence_code not in", values, "scenceCode");
            return (Criteria) this;
        }

        public Criteria andScenceCodeBetween(String value1, String value2) {
            addCriterion("scence_code between", value1, value2, "scenceCode");
            return (Criteria) this;
        }

        public Criteria andScenceCodeNotBetween(String value1, String value2) {
            addCriterion("scence_code not between", value1, value2, "scenceCode");
            return (Criteria) this;
        }

        public Criteria andProductIdIsNull() {
            addCriterion("product_id is null");
            return (Criteria) this;
        }

        public Criteria andProductIdIsNotNull() {
            addCriterion("product_id is not null");
            return (Criteria) this;
        }

        public Criteria andProductIdEqualTo(Integer value) {
            addCriterion("product_id =", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotEqualTo(Integer value) {
            addCriterion("product_id <>", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdGreaterThan(Integer value) {
            addCriterion("product_id >", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("product_id >=", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdLessThan(Integer value) {
            addCriterion("product_id <", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdLessThanOrEqualTo(Integer value) {
            addCriterion("product_id <=", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdIn(List<Integer> values) {
            addCriterion("product_id in", values, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotIn(List<Integer> values) {
            addCriterion("product_id not in", values, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdBetween(Integer value1, Integer value2) {
            addCriterion("product_id between", value1, value2, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotBetween(Integer value1, Integer value2) {
            addCriterion("product_id not between", value1, value2, "productId");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Integer value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Integer value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Integer value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Integer value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Integer value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Integer> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Integer> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Integer value1, Integer value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andLoginNameIsNull() {
            addCriterion("login_name is null");
            return (Criteria) this;
        }

        public Criteria andLoginNameIsNotNull() {
            addCriterion("login_name is not null");
            return (Criteria) this;
        }

        public Criteria andLoginNameEqualTo(String value) {
            addCriterion("login_name =", value, "loginName");
            return (Criteria) this;
        }

        public Criteria andLoginNameNotEqualTo(String value) {
            addCriterion("login_name <>", value, "loginName");
            return (Criteria) this;
        }

        public Criteria andLoginNameGreaterThan(String value) {
            addCriterion("login_name >", value, "loginName");
            return (Criteria) this;
        }

        public Criteria andLoginNameGreaterThanOrEqualTo(String value) {
            addCriterion("login_name >=", value, "loginName");
            return (Criteria) this;
        }

        public Criteria andLoginNameLessThan(String value) {
            addCriterion("login_name <", value, "loginName");
            return (Criteria) this;
        }

        public Criteria andLoginNameLessThanOrEqualTo(String value) {
            addCriterion("login_name <=", value, "loginName");
            return (Criteria) this;
        }

        public Criteria andLoginNameLike(String value) {
            addCriterion("login_name like", value, "loginName");
            return (Criteria) this;
        }

        public Criteria andLoginNameNotLike(String value) {
            addCriterion("login_name not like", value, "loginName");
            return (Criteria) this;
        }

        public Criteria andLoginNameIn(List<String> values) {
            addCriterion("login_name in", values, "loginName");
            return (Criteria) this;
        }

        public Criteria andLoginNameNotIn(List<String> values) {
            addCriterion("login_name not in", values, "loginName");
            return (Criteria) this;
        }

        public Criteria andLoginNameBetween(String value1, String value2) {
            addCriterion("login_name between", value1, value2, "loginName");
            return (Criteria) this;
        }

        public Criteria andLoginNameNotBetween(String value1, String value2) {
            addCriterion("login_name not between", value1, value2, "loginName");
            return (Criteria) this;
        }

        public Criteria andSortIsNull() {
            addCriterion("sort is null");
            return (Criteria) this;
        }

        public Criteria andSortIsNotNull() {
            addCriterion("sort is not null");
            return (Criteria) this;
        }

        public Criteria andSortEqualTo(Integer value) {
            addCriterion("sort =", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotEqualTo(Integer value) {
            addCriterion("sort <>", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortGreaterThan(Integer value) {
            addCriterion("sort >", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortGreaterThanOrEqualTo(Integer value) {
            addCriterion("sort >=", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortLessThan(Integer value) {
            addCriterion("sort <", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortLessThanOrEqualTo(Integer value) {
            addCriterion("sort <=", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortIn(List<Integer> values) {
            addCriterion("sort in", values, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotIn(List<Integer> values) {
            addCriterion("sort not in", values, "sort");
            return (Criteria) this;
        }

        public Criteria andSortBetween(Integer value1, Integer value2) {
            addCriterion("sort between", value1, value2, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotBetween(Integer value1, Integer value2) {
            addCriterion("sort not between", value1, value2, "sort");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andPageViewCountIsNull() {
            addCriterion("page_view_count is null");
            return (Criteria) this;
        }

        public Criteria andPageViewCountIsNotNull() {
            addCriterion("page_view_count is not null");
            return (Criteria) this;
        }

        public Criteria andPageViewCountEqualTo(Integer value) {
            addCriterion("page_view_count =", value, "pageViewCount");
            return (Criteria) this;
        }

        public Criteria andPageViewCountNotEqualTo(Integer value) {
            addCriterion("page_view_count <>", value, "pageViewCount");
            return (Criteria) this;
        }

        public Criteria andPageViewCountGreaterThan(Integer value) {
            addCriterion("page_view_count >", value, "pageViewCount");
            return (Criteria) this;
        }

        public Criteria andPageViewCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("page_view_count >=", value, "pageViewCount");
            return (Criteria) this;
        }

        public Criteria andPageViewCountLessThan(Integer value) {
            addCriterion("page_view_count <", value, "pageViewCount");
            return (Criteria) this;
        }

        public Criteria andPageViewCountLessThanOrEqualTo(Integer value) {
            addCriterion("page_view_count <=", value, "pageViewCount");
            return (Criteria) this;
        }

        public Criteria andPageViewCountIn(List<Integer> values) {
            addCriterion("page_view_count in", values, "pageViewCount");
            return (Criteria) this;
        }

        public Criteria andPageViewCountNotIn(List<Integer> values) {
            addCriterion("page_view_count not in", values, "pageViewCount");
            return (Criteria) this;
        }

        public Criteria andPageViewCountBetween(Integer value1, Integer value2) {
            addCriterion("page_view_count between", value1, value2, "pageViewCount");
            return (Criteria) this;
        }

        public Criteria andPageViewCountNotBetween(Integer value1, Integer value2) {
            addCriterion("page_view_count not between", value1, value2, "pageViewCount");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Timestamp value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Timestamp value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Timestamp value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Timestamp value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Timestamp value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Timestamp value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Timestamp> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Timestamp> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Timestamp value1, Timestamp value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Timestamp value1, Timestamp value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Timestamp value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Timestamp value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Timestamp value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Timestamp value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Timestamp value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Timestamp value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Timestamp> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Timestamp> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Timestamp value1, Timestamp value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Timestamp value1, Timestamp value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andRecommondFromIsNull() {
            addCriterion("recommond_from is null");
            return (Criteria) this;
        }

        public Criteria andRecommondFromIsNotNull() {
            addCriterion("recommond_from is not null");
            return (Criteria) this;
        }

        public Criteria andRecommondFromEqualTo(Integer value) {
            addCriterion("recommond_from =", value, "recommondFrom");
            return (Criteria) this;
        }

        public Criteria andRecommondFromNotEqualTo(Integer value) {
            addCriterion("recommond_from <>", value, "recommondFrom");
            return (Criteria) this;
        }

        public Criteria andRecommondFromGreaterThan(Integer value) {
            addCriterion("recommond_from >", value, "recommondFrom");
            return (Criteria) this;
        }

        public Criteria andRecommondFromGreaterThanOrEqualTo(Integer value) {
            addCriterion("recommond_from >=", value, "recommondFrom");
            return (Criteria) this;
        }

        public Criteria andRecommondFromLessThan(Integer value) {
            addCriterion("recommond_from <", value, "recommondFrom");
            return (Criteria) this;
        }

        public Criteria andRecommondFromLessThanOrEqualTo(Integer value) {
            addCriterion("recommond_from <=", value, "recommondFrom");
            return (Criteria) this;
        }

        public Criteria andRecommondFromIn(List<Integer> values) {
            addCriterion("recommond_from in", values, "recommondFrom");
            return (Criteria) this;
        }

        public Criteria andRecommondFromNotIn(List<Integer> values) {
            addCriterion("recommond_from not in", values, "recommondFrom");
            return (Criteria) this;
        }

        public Criteria andRecommondFromBetween(Integer value1, Integer value2) {
            addCriterion("recommond_from between", value1, value2, "recommondFrom");
            return (Criteria) this;
        }

        public Criteria andRecommondFromNotBetween(Integer value1, Integer value2) {
            addCriterion("recommond_from not between", value1, value2, "recommondFrom");
            return (Criteria) this;
        }

        public Criteria andPropertyIsNull() {
            addCriterion("property is null");
            return (Criteria) this;
        }

        public Criteria andPropertyIsNotNull() {
            addCriterion("property is not null");
            return (Criteria) this;
        }

        public Criteria andPropertyEqualTo(Object value) {
            addCriterion("property =", value, "property");
            return (Criteria) this;
        }

        public Criteria andPropertyNotEqualTo(Object value) {
            addCriterion("property <>", value, "property");
            return (Criteria) this;
        }

        public Criteria andPropertyGreaterThan(Object value) {
            addCriterion("property >", value, "property");
            return (Criteria) this;
        }

        public Criteria andPropertyGreaterThanOrEqualTo(Object value) {
            addCriterion("property >=", value, "property");
            return (Criteria) this;
        }

        public Criteria andPropertyLessThan(Object value) {
            addCriterion("property <", value, "property");
            return (Criteria) this;
        }

        public Criteria andPropertyLessThanOrEqualTo(Object value) {
            addCriterion("property <=", value, "property");
            return (Criteria) this;
        }

        public Criteria andPropertyIn(List<Object> values) {
            addCriterion("property in", values, "property");
            return (Criteria) this;
        }

        public Criteria andPropertyNotIn(List<Object> values) {
            addCriterion("property not in", values, "property");
            return (Criteria) this;
        }

        public Criteria andPropertyBetween(Object value1, Object value2) {
            addCriterion("property between", value1, value2, "property");
            return (Criteria) this;
        }

        public Criteria andPropertyNotBetween(Object value1, Object value2) {
            addCriterion("property not between", value1, value2, "property");
            return (Criteria) this;
        }

        public Criteria andRecommondUsePositionIsNull() {
            addCriterion("recommond_use_position is null");
            return (Criteria) this;
        }

        public Criteria andRecommondUsePositionIsNotNull() {
            addCriterion("recommond_use_position is not null");
            return (Criteria) this;
        }

        public Criteria andRecommondUsePositionEqualTo(Integer value) {
            addCriterion("recommond_use_position =", value, "recommondUsePosition");
            return (Criteria) this;
        }

        public Criteria andRecommondUsePositionNotEqualTo(Integer value) {
            addCriterion("recommond_use_position <>", value, "recommondUsePosition");
            return (Criteria) this;
        }

        public Criteria andRecommondUsePositionGreaterThan(Integer value) {
            addCriterion("recommond_use_position >", value, "recommondUsePosition");
            return (Criteria) this;
        }

        public Criteria andRecommondUsePositionGreaterThanOrEqualTo(Integer value) {
            addCriterion("recommond_use_position >=", value, "recommondUsePosition");
            return (Criteria) this;
        }

        public Criteria andRecommondUsePositionLessThan(Integer value) {
            addCriterion("recommond_use_position <", value, "recommondUsePosition");
            return (Criteria) this;
        }

        public Criteria andRecommondUsePositionLessThanOrEqualTo(Integer value) {
            addCriterion("recommond_use_position <=", value, "recommondUsePosition");
            return (Criteria) this;
        }

        public Criteria andRecommondUsePositionIn(List<Integer> values) {
            addCriterion("recommond_use_position in", values, "recommondUsePosition");
            return (Criteria) this;
        }

        public Criteria andRecommondUsePositionNotIn(List<Integer> values) {
            addCriterion("recommond_use_position not in", values, "recommondUsePosition");
            return (Criteria) this;
        }

        public Criteria andRecommondUsePositionBetween(Integer value1, Integer value2) {
            addCriterion("recommond_use_position between", value1, value2, "recommondUsePosition");
            return (Criteria) this;
        }

        public Criteria andRecommondUsePositionNotBetween(Integer value1, Integer value2) {
            addCriterion("recommond_use_position not between", value1, value2, "recommondUsePosition");
            return (Criteria) this;
        }

        public Criteria andImgStrIsNull() {
            addCriterion("img_str is null");
            return (Criteria) this;
        }

        public Criteria andImgStrIsNotNull() {
            addCriterion("img_str is not null");
            return (Criteria) this;
        }

        public Criteria andImgStrEqualTo(String value) {
            addCriterion("img_str =", value, "imgStr");
            return (Criteria) this;
        }

        public Criteria andImgStrNotEqualTo(String value) {
            addCriterion("img_str <>", value, "imgStr");
            return (Criteria) this;
        }

        public Criteria andImgStrGreaterThan(String value) {
            addCriterion("img_str >", value, "imgStr");
            return (Criteria) this;
        }

        public Criteria andImgStrGreaterThanOrEqualTo(String value) {
            addCriterion("img_str >=", value, "imgStr");
            return (Criteria) this;
        }

        public Criteria andImgStrLessThan(String value) {
            addCriterion("img_str <", value, "imgStr");
            return (Criteria) this;
        }

        public Criteria andImgStrLessThanOrEqualTo(String value) {
            addCriterion("img_str <=", value, "imgStr");
            return (Criteria) this;
        }

        public Criteria andImgStrLike(String value) {
            addCriterion("img_str like", value, "imgStr");
            return (Criteria) this;
        }

        public Criteria andImgStrNotLike(String value) {
            addCriterion("img_str not like", value, "imgStr");
            return (Criteria) this;
        }

        public Criteria andImgStrIn(List<String> values) {
            addCriterion("img_str in", values, "imgStr");
            return (Criteria) this;
        }

        public Criteria andImgStrNotIn(List<String> values) {
            addCriterion("img_str not in", values, "imgStr");
            return (Criteria) this;
        }

        public Criteria andImgStrBetween(String value1, String value2) {
            addCriterion("img_str between", value1, value2, "imgStr");
            return (Criteria) this;
        }

        public Criteria andImgStrNotBetween(String value1, String value2) {
            addCriterion("img_str not between", value1, value2, "imgStr");
            return (Criteria) this;
        }
        public Criteria andSceneIdIsNull() {
            addCriterion("scene_id is null");
            return (Criteria) this;
        }

        public Criteria andSceneIdIsNotNull() {
            addCriterion("scene_id is not null");
            return (Criteria) this;
        }

        public Criteria andSceneIdEqualTo(Integer value) {
            addCriterion("scene_id =", value, "sceneId");
            return (Criteria) this;
        }

        public Criteria andSceneIdNotEqualTo(Integer value) {
            addCriterion("scene_id <>", value, "sceneId");
            return (Criteria) this;
        }

        public Criteria andSceneIdGreaterThan(Integer value) {
            addCriterion("scene_id >", value, "sceneId");
            return (Criteria) this;
        }

        public Criteria andSceneIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("scene_id >=", value, "sceneId");
            return (Criteria) this;
        }

        public Criteria andSceneIdLessThan(Integer value) {
            addCriterion("scene_id <", value, "sceneId");
            return (Criteria) this;
        }

        public Criteria andSceneIdLessThanOrEqualTo(Integer value) {
            addCriterion("scene_id <=", value, "sceneId");
            return (Criteria) this;
        }

        public Criteria andSceneIdIn(List<Integer> values) {
            addCriterion("scene_id in", values, "sceneId");
            return (Criteria) this;
        }

        public Criteria andSceneIdNotIn(List<Integer> values) {
            addCriterion("scene_id not in", values, "sceneId");
            return (Criteria) this;
        }

        public Criteria andSceneIdBetween(Integer value1, Integer value2) {
            addCriterion("scene_id between", value1, value2, "sceneId");
            return (Criteria) this;
        }

        public Criteria andSceneIdNotBetween(Integer value1, Integer value2) {
            addCriterion("scene_id not between", value1, value2, "sceneId");
            return (Criteria) this;
        }


    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}